package com.newer.service.lmpl;

import com.newer.dto.LoginDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.newer.mapper.UserMapper;
import com.newer.domain.User;
import com.newer.service.UserService;
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<LoginDto> selectNamePwd(String username, String userpwd) {
        return this.userMapper.selectNamePwd(username,userpwd);
    }
}
